package com.zxq.uart.controller;

import com.zxq.uart.frame.decoder._35QueryMachineOtherResult;
import com.zxq.uart.frame.encoder._35QueryMachineOtherCmd;
import com.zxq.uart.result.ResultVO;
import com.zxq.uart.service.impl.PlatformExchange;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class _35QueryMachineOtherController extends PlatformExchange<_35QueryMachineOtherCmd, _35QueryMachineOtherResult> {


    @Override
    public Integer getCmd() {
        return 0x35;
    }

    @PostMapping("exchange/35")
    @Override
    public ResultVO<_35QueryMachineOtherResult> exchange(@RequestBody _35QueryMachineOtherCmd order) {
        return super.exchange(order);
    }

    @Override
    public _35QueryMachineOtherResult getResult() {
        return new _35QueryMachineOtherResult();
    }


}
